//
// Created by wze-zero on 2024/7/14 014.
//
#include <iostream>

using namespace std;

int main() {
    int sum = 0;
    char str[100] = {0};
    cin.getline(str, sizeof(str));
    char *ptr = str;
    while (*ptr != '\0') {
        ptr++;
        sum++;
    }
    cout << sum << endl;
    return 0;
}